#ifndef __MRENDEROPERATION_H__
#define __MRENDEROPERATION_H__

#include "IVertexBuffer.h"
#include "IIndexBuffer.h"

class CMRenderable;

class CMRenderOperation
{
public:

	unsigned int  uiVertexStart;
    unsigned int  uiNumVertices;
	
    unsigned int  uiIndexStart;
	unsigned int  uiNumFaces;

	IMVertexBuffer* pVertexBuffer;
	IMIndexBuffer*  pIndexBuffer; 

	//
	// method 
	//
	CMRenderOperation( void )
	: pVertexBuffer( NULL ) , pIndexBuffer( NULL ) ,  
    uiVertexStart( 0 ) , uiNumVertices( 0 ) , uiIndexStart(0), uiNumFaces( 0 ) 
	{
	}
};


#endif